package com.lbmb.photodrawaimanager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lbmb.photodrawaimanager.entity.dto.VideoEntity;
import com.lbmb.photodrawaimanager.entity.req.VideoReq;
import com.lbmb.photodrawaimanager.entity.resp.VideoUserResp;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author hanWang
 * @Title:
 * @Package
 * @Description:
 * @date 2023/8/31:06 上午
 */
public interface VideoService extends IService<VideoEntity> {
    Boolean uploadVideo(MultipartFile file,MultipartFile imgFile, VideoReq req);

    IPage<VideoUserResp> queryAllVideo(VideoReq req);

    VideoUserResp queryVideoById(Long id);
}
